package com.xjk.cloud.service;

import com.xjk.cloud.dao.UserDao;
import com.xjk.cloud.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private UserDao userDao;

    public User findById(long id) {
        return userDao.findOne2(id);
    }
}
